package ro.sergiu.finder.exception;

public class EngineRunException extends Exception {

    private boolean internalMessage = false;

    public EngineRunException(String message) {
        super(message);
        internalMessage = true;
    }

    public EngineRunException(String message, Throwable cause) {
        super(message, cause);
        internalMessage = true;
    }

    public EngineRunException(Throwable cause) {
        super(cause);
    }

    public boolean hasInternalMessage() {
        return internalMessage;
    }

}
